package com.pine.app.module.security.core.exception;

import com.pine.app.module.security.core.common.enums.ErrorType;
import com.pine.app.module.security.core.common.enums.ResponseProduceType;

/**
 * @author xiaoyuan
 * @create 2020/3/21 14:40
 **/
public class AccessDeniedException extends BaseException {


    public AccessDeniedException(ErrorType errorType) {
        super(errorType);
    }

    public AccessDeniedException(ErrorType errorType, ResponseProduceType responseProduceTypeEnum, String pagePath) {
        super(errorType, responseProduceTypeEnum, pagePath);
    }

    public AccessDeniedException(ErrorType errorType, String message) {
        super(errorType, message);
    }

    public AccessDeniedException(ErrorType errorType, String message, ResponseProduceType responseProduceTypeEnum, String pagePath, Object data) {
        super(errorType, message, responseProduceTypeEnum, pagePath, data);
    }
}
